package com.ruoyi.project.platform.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 参数描述对象 sty_parameter
 * 
 * @author ruoyi
 * @date 2020-07-23
 */
public class StyParameter extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 参数id */
    private Long parameterId;

    /** 策略ID */
    @Excel(name = "策略ID")
    private Long strategyId;

    /** 参数名称 */
    @Excel(name = "参数名称")
    private String name;

    /** 参数描述 */
    @Excel(name = "参数描述")
    private String description;

    /** 默认值 */
    @Excel(name = "默认值")
    private String defaultValue;

    public void setParameterId(Long parameterId) 
    {
        this.parameterId = parameterId;
    }

    public Long getParameterId() 
    {
        return parameterId;
    }
    public void setStrategyId(Long strategyId) 
    {
        this.strategyId = strategyId;
    }

    public Long getStrategyId() 
    {
        return strategyId;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }
    public void setDefaultValue(String defaultValue) 
    {
        this.defaultValue = defaultValue;
    }

    public String getDefaultValue() 
    {
        return defaultValue;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("parameterId", getParameterId())
            .append("strategyId", getStrategyId())
            .append("name", getName())
            .append("description", getDescription())
            .append("defaultValue", getDefaultValue())
            .toString();
    }
}
